package org.example.examsystem.service;


import org.example.examsystem.entity.Teacher ;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageImpl;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Optional;

public interface TeacherService {
    Page<Teacher> getTeachers(Pageable pageable);
    int addTeacher(Teacher teacher);
    int updateTeacher(Teacher teacher);
    int deleteTeacher(int userid);
    int batchDeleteTeachers(List<Integer> ids);
    Optional<Teacher> findTeacherById(int userid);
}